#ifndef EDITPROCESS_H
#define EDITPROCESS_H

/*
The command is edit <Task Number> to <NewTask>
*/

#include "LogicProcess.h"
#include "DeleteProcess.h"
#include "AddProcess.h"
#include <sstream>

class EditProcess:public LogicProcess{
private:


	int getOldTaskNo();
	string getNewTask();
	Task retrieveTask(int taskNo);
	void backupToUndo(Task oldTask,Task newTask);
public:
	EditProcess(string command,allTaskList *givenLists,allCommandStack *givenStacks);
	~EditProcess();

	void HandleProcesss();
	void quickProcess(Task task);
};
#endif